package com.love.marriage.userTopConfigInfo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.love.marriage.common.vo.BaseVo;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.love.marriage.config.Long2StringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.config.Long2StringSerializer;

/**
 * description:  用户置顶配置表Vo
 * author:       mybatisPlus
 * createDate:   2024-10-24 20:49:00
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserTopConfigInfoVo", description = "用户置顶配置表Vo")
public class UserTopConfigInfoVo extends BaseVo<UserTopConfigInfoVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID，关联用户表", type = "Long", implementation = Long.class)
    private Long userId;

    @Schema(description = "置顶开始时间(设置置顶时不需要上传)", type = "LocalDateTime", implementation = LocalDateTime.class)
    private LocalDateTime startTime;

    @Schema(description = "置顶结束时间(设置置顶时不需要上传)", type = "LocalDateTime", implementation = LocalDateTime.class)
    private LocalDateTime endTime;

    @Schema(description = "置顶服务天数", type = "Integer", implementation = Integer.class)
    private Integer durationDays;

    @Schema(description = "支付金额", type = "BigDecimal", implementation = BigDecimal.class)
    private BigDecimal paymentAmount;
}
